package com.heima.user.feign;

import com.heima.common.dto.ResponseResult;
import com.heima.user.dto.ApAuthor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface ArticleFeign {
   /**
    * @description: 保存文章作者
    * @author: wangjian
    * @param: entity
    * @return: ResponseResult<ApAuthor>
    **/
    @PostMapping("/api/v1/author")
    public ResponseResult<ApAuthor> saveApAuthor(@RequestBody ApAuthor entity);
}
